package com.fitns.user.dao.baseConfig;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.fitns.user.dto.baseConfig.CollectDataCondition;
import com.fitns.user.dto.baseConfig.CollectDataList;
import com.fitns.user.model.baseConfig.TbCollectData;

import java.util.List;
import java.util.Map;

public interface TbCollectDataDao extends BaseMapper<TbCollectData> {

    List<TbCollectData> searchDetail(CollectDataCondition collectDataCondition);
    List<CollectDataList> search(CollectDataList collectDataCondition);
    List<CollectDataList> searchByOrganName(CollectDataList collectDataCondition);
    List<CollectDataList> selectDatalist();

    void inserts(TbCollectData tbColletData);

    void delete(Long id);

    TbCollectData select(Long id);

    void update(TbCollectData tbColletData);

    List<TbCollectData> searchForExport(CollectDataCondition collectDataCondition);
}
